﻿using System;
using System.IO;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using DadaLib;

namespace DadaistTests
{
    [TestClass]
    public class WeightedStringTests
    {

        [TestMethod]
        public void WeightAssignmentWorks()
        {
            var gen = new Generator(Util.SamplesFolder + "input1.txt");
            gen.Analize();
            var comp = new Composer(gen);
            var sentence = comp.ComposeSentence(40);
            Console.WriteLine(sentence);
            Assert.IsNotNull(sentence);

        }
    }
}
